package com.bristua.mall.user.dao;

import com.bristua.mall.user.model.TUserCharge;
import com.bristua.mall.user.model.condition.TUserChargeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TUserChargeMapper {
    int countByExample(TUserChargeExample example);

    int deleteByExample(TUserChargeExample example);

    int deleteByPrimaryKey(String chargeId);

    int insert(TUserCharge record);

    int insertSelective(TUserCharge record);

    List<TUserCharge> selectByExample(TUserChargeExample example);

    TUserCharge selectByPrimaryKey(String chargeId);

    int updateByExampleSelective(@Param("record") TUserCharge record, @Param("example") TUserChargeExample example);

    int updateByExample(@Param("record") TUserCharge record, @Param("example") TUserChargeExample example);

    int updateByPrimaryKeySelective(TUserCharge record);

    int updateByPrimaryKey(TUserCharge record);
}